package com.tocici.domain.bo;

import com.tocici.domain.Category;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 分类业务对象 category
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Category.class, reverseConvertGenerate = false)
public class CategoryBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long categoryId;

    /**
     * 
     */
    private String categoryName;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private Integer isDeleted;


}
